import request from '@/utils/request'

// 查询未清运预警列表
export function listUntransportwarning(query) {
  return request({
    url: '/report/untransportwarning/list',
    method: 'get',
    params: query
  })
}

// 查询未清运预警详细
export function getUntransportwarning(id) {
  return request({
    url: '/report/untransportwarning/' + id,
    method: 'get'
  })
}

// 新增未清运预警
export function addUntransportwarning(data) {
  return request({
    url: '/report/untransportwarning',
    method: 'post',
    data: data
  })
}

// 修改未清运预警
export function updateUntransportwarning(data) {
  return request({
    url: '/report/untransportwarning',
    method: 'put',
    data: data
  })
}

// 删除未清运预警
export function delUntransportwarning(id) {
  return request({
    url: '/report/untransportwarning/' + id,
    method: 'delete'
  })
}
